package com.metacube.questionbank.model;

/*
 * @author Team Neeraj Jain
 * */
public class Tag {
	private int tagId;
	private String tagName;
	private String tagDesc;
	private Integer noOfQues;

	/*
	 * Default constructor of class.
	 */
	public Tag() {
	}

	/*
	 * Parameterized constructor of class.
	 */
	public Tag(int tagId, String tagName, String tagDesc, int noOfQues) {
		super();
		this.tagId = tagId;
		this.tagName = tagName;
		this.tagDesc = tagDesc;
		this.noOfQues = noOfQues;
	}

	/*
	 * This method returns the id of tag.
	 * 
	 * @return tagId id of tag
	 */
	public int getTagId() {
		return tagId;
	}

	/*
	 * @param tagId id to be set This method sets the tag id.
	 */
	public void setTagId(int tagId) {
		this.tagId = tagId;
	}

	/*
	 * This method returns the tag name.
	 * 
	 * @return tagName name of tag.
	 */
	public String getTagName() {
		return tagName;
	}

	/*
	 * @param tagName name to be set This method sets the name of tag.
	 */
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	/*
	 * This method returns the no. of questions.
	 * 
	 * @return noOfQues no. of questions
	 */
	public int getNoOfQues() {
		return noOfQues;
	}

	/*
	 * @param noOfQues no. of questions to be set This method sets the no. of
	 * questions.
	 */
	public void setNoOfQues(int noOfQues) {
		this.noOfQues = noOfQues;
	}

	/*
	 * This method returns the tag description.
	 * 
	 * @return tagDesc description of tag
	 */
	public String getTagDesc() {
		return tagDesc;
	}

	/*
	 * @param tagDesc description of tag Thi method sets the tag description.
	 */
	public void setTagDesc(String tagDesc) {
		this.tagDesc = tagDesc;
	}
}
